﻿@model BulletinMvc.Models.BulletinItemCreateModel

@{
    ViewBag.Title = "CreateBulletinItem";
}

<h2>新建课题</h2>
<div id="operate">
    @Html.ActionLink("返回", "Details",  new { BulletinID =  ViewData["BulletinID"] , BulletinYaMa=ViewData["BulletinYaMa"] })
</div>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset class="create">
        <legend></legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.ProjectSN)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ProjectSN)
            @Html.ValidationMessageFor(model => model.ProjectSN)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ProjectTitle)
        </div>
        <div class="editor-field long">
            @Html.EditorFor(model => model.ProjectTitle)
            @Html.ValidationMessageFor(model => model.ProjectTitle)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Country)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Country)
            @Html.ValidationMessageFor(model => model.Country)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.School)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.School)
            @Html.ValidationMessageFor(model => model.School)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Teachername)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Teachername)
            @Html.ValidationMessageFor(model => model.Teachername)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Conclusion)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Conclusion)
            @Html.ValidationMessageFor(model => model.Conclusion)
        </div>

        <div class="editor-label fly2">
            @Html.LabelFor(model => model.Comment)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.Comment)
            @Html.ValidationMessageFor(model => model.Comment)
        </div>
        @Html.Hidden("BulletinID",ViewData["BulletinID"] )
        @Html.Hidden("BulletinYaMa",ViewData["BulletinYaMa"] )
        <div class="editor-btn">
            <input type="submit" value="新建" />
        </div>
    </fieldset>
}

